package com.qf.userfull;

public class CatDemo {
    public static void main(String[] args) {
        Cat cat01 = new Cat("加菲猫","公",3,100,300);
        Cat cat02 = new Cat("加菲猫","公",3,100,300);
        Cat cat03 = cat01;
//        System.out.println(cat01.hashCode());
//        System.out.println(cat02.hashCode());
//        System.out.println(cat03.hashCode());

        System.out.println(cat01);
        System.out.println(cat02);
        System.out.println(cat03);
    }
}
